// Component/model/model.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    Title: {
      type: String,
      value: '默认标题'
    },
    Text: {
      type: String,
      value: '默认内容'
    },
    Cancel: {
      type: String,
      value: '取消'
    },
    Confirm: {
      type: String,
      value: '确定'
    },
    isShow: {
      type: Boolean,
      value: true
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    cancel: function() {
      this.triggerEvent('cancel', {}, {bubbles: true, composed: true})
    },
    confirm: function() {
      this.triggerEvent('confirm', {}, {bubbles: true, composed: true})
    }
  }
})